package cn.pn.project.client.commodity.follback;

import cn.pn.project.client.commodity.TicketInfoFeign;
import cn.pn.project.pojo.commodity.Ticketinginfo;
import org.springframework.stereotype.Component;

@Component
public class TicketInfoFeignFollback implements TicketInfoFeign {
    @Override
    public Ticketinginfo getTicketInfoByCommodityId(Integer commodityId) {
        System.out.println("查询购票须知类出现异常，回滚");
        return null;
    }
}
